package com.kingint.mbg.dto.rushHouse;

import com.baomidou.mybatisplus.annotation.TableField;
import com.kingint.mbg.bas.entity.BasGoods;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;
import java.util.List;

/**
 * 前端赶房详情信息实体类型
 */
@Data
public class RushHouseFrontDetails  implements Serializable {

    @ApiModelProperty(value = "对应赶房的id")
    private Integer id;

    @ApiModelProperty(value = "对应总单中的id")
    private Integer workId;

    @ApiModelProperty(value = "对应房间id")
    private Integer roomId;

    @ApiModelProperty(value = "房间号")
    private String roomNum;

    @ApiModelProperty(value = "客房状态（赶房中房态相关，1，未退房，2，已退房等等，对接pms可用）默认为0，未对接pms")
    @TableField("guest_room_status")
    private Integer guestRoomStatus;

    @ApiModelProperty(value = "客人名字，如对接了pms时使用")
    @TableField("gust")
    private String gust;

    @ApiModelProperty(value = "查房状态（0，未完成，1，完成）")
    private Integer checkStatus;

    @ApiModelProperty(value = "布草/易耗品状态（0，未完成，1，完成）")
    @TableField("arrange_status")
    private Integer arrangeStatus;

    @ApiModelProperty(value = "清洁状态（0，未开始，1，开始，2，完成）")
    @TableField("clean_status")
    private Integer cleanStatus;

    @ApiModelProperty(value = "布草/易耗品相关信息josn（对应bas_goods表的信息，记录时间数量）")
    private List<BasGoods> arrangeContent;


    @ApiModelProperty(value = "完成时间")
    @TableField("completion_time")
    private Date completionTime;

    @ApiModelProperty(value = "开始时间（清洁开始时间）")
    @TableField("start_time")
    private Date startTime;

    @ApiModelProperty("当前时间")
    @TableField(exist = false)
    private Date nowTime;

}
